package com.zyf.project.binaryproto.export;

/**
 * @author Zhou Yifan
 */
public interface BytesConverter<T> {

    T instanceFrom(byte[] bytes);

    byte[] serializeTo(T object);

}
